home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr24 / sdf21.zip / SDF.DOC < prev   
Text File  |  1993-05-20  |  6KB  |  142 lines

  1. SDF : Speedy Disk Formatter.
  2. ----------------------------
  3.  
  4. If you have got a genuine PC or PC/XT or a compatible, this program might
  5. be useful to you for fast formatting 360K disks.
  6.  
  7. If you have retrofitted a 3.5" drive, this program might be even more
  8. useful, for formatting both 360K and 720K disks.
  9.  
  10. Some bare facts :
  11. ---------------
  12.  
  13. - Formatting a 3.5" floppy under DOS 3.2 or 3.3 takes 3'22 on my CHINON drive.
  14. - Copying about 200,000 bytes over from a 5 1/4 floppy to the 3.5" takes 2'53.
  15.  
  16. These times involve either DOS 3.2 with DRIVPARM=/D:1 in the CONFIG.SYS file,
  17. or DOS 3.3 with DEVICE=DRIVER.SYS /D:1 in the same CONFIG.SYS file.
  18.  
  19. Now, what is the reason for having DRIVPARM or DRIVER.SYS ?
  20.  
  21. As far as I know, they are only used at FORMAT time, so that the
  22. formatting program knows which kind of drive is installed. When accessing
  23. a formatted disk, DOS decides after peeking at the Media Descriptor byte
  24. what kind of diskette it has to deal with, and DRIVPARM or DRIVER.SYS are
  25. no longer required.
  26.  
  27. Try the following :
  28.  
  29. 1. Format a 720K disk with your current CONFIG.SYS (including DRIVPARM=
  30.    or DRIVER.SYS), and FORMAT.COM.
  31. 2. Copy about 200,000 bytes of data to the diskette.
  32. 3. Time the operation. Depending on how many files make up the 200,000 bytes,
  33.    (i.e. how many directory updates will be required), the copy might take
  34.    2'53, as in my case.
  35.  
  36. NOW,
  37.  
  38. 4. Remove the DRIVPARM= or DRIVER.SYS entry in your CONFIG.SYS file,
  39.    and REBOOT your computer.
  40. 5. Delete the files that had been copied over in step 2,
  41. 6. Do the same copy again.
  42. 7. Time it. In my case, copying took 2'04, which is not far from 30 %
  43.    improvement.
  44. 8. Notice that DOS didn't object to your having a 720K formatted disk in
  45.    the drive without having been told so in the CONFIG.SYS. The 0F9h media
  46.    descriptor it found on the disk is sufficient for DOS to know how it
  47.    should handle it.
  48.  
  49. SO,
  50.  
  51. It looks to me as though these DRIVPARM= or DRIVER.SYS are there only for
  52. two purposes : 
  53.  
  54. 1. Let FORMAT know what to to with these drives,
  55. 2. Be in your legs afterwards to slow your system down.
  56.  
  57. THEN
  58.  
  59. I decided that DRIVPARM= or DRIVER.SYS were not needed if one had the
  60. correct program to format diskettes at the required capacity, and
  61. that speed could be added as a bonus.
  62.  
  63. Finding fast formatters is no problem, there are many good ones on CIS,
  64. but I found only one who knew about 3.5" floppies : QDR by V. Buerg.
  65.  
  66. I tried it, and found out it had bugs in handling the 3 sector FATs used
  67. on 720K disks (does not clear the third FAT sector).
  68.  
  69. I finally ended up writing my own formatter, with two goals in mind :
  70.  
  71. Support for 3.5" 720K disks, and SPEED.
  72.  
  73. This is what SDF has been designed for.
  74.  
  75. SDF formats a 720K disk in 1'40, with verification, or 1'08 without
  76. verification.
  77.  
  78. By the way, FLOP2 (which is my fix to the original FLOP) speeds up floppies
  79. even more : the 200,000 bytes copy takes only 1'09 on my system (8 Mz clone),
  80. when set FLOP2 is set to FAst. I included FAST2 with the SDF package, so
  81. you can squeeze any clock tick out of your disk accesses.
  82.  
  83. A word of caution : both programs fiddle with pseudo interrupt 1Eh, which
  84. describes some disks parameters (motor start up time, heads step rate, a.o.).
  85.  
  86. The parameters these programs are modifying are usually overly conservative
  87. as set by DOS. Dramatic speed improvement can be achieved by carefully tuning
  88. these parameters. I strongly suggest you have a look at the source codes
  89. before trying to modify bluntly the values used. A short description of
  90. these parameters, known as the Disk Base Parameters Table can be found in
  91. Norton's book "Programmer's guide to the IBM PC" pp. 196-198 (Microsoft Press).
  92. Also, beware that some systems will be perfectly happy with Motor Start Up
  93. time (in 1/8 seconds) set to 0, whilst others will irremediably hang (that
  94. is the case for my Olivetti M24 / ATT 6300 at work).
  95.  
  96. Using SDF.
  97. ---------
  98.  
  99. SDF is auto-documenting, i.e.  if you type SDF at the DOS prompt, you
  100. will be given a usage message.  A drive spec MUST be specified, and is
  101. A: or B:, and some optional switches may follow.  The switches ares /Q
  102. to format in Quad Density (80 tracks, 9 sectors per track, 720K
  103. capacity), default is Dual Density (40 tracks, 9 sec/trk, 360K), and /V
  104. to force a Verify of the just formatted disk (default is NO verify,
  105. assuming that everybody buys good grade diskettes, and that 3.5" disks
  106. are of better quality).
  107.  
  108. SDF will tell how many K-bytes (1024 bytes) are available in the file
  109. area, and prompt for another diskette with a whistle (I like that one -
  110. idea picked up from DBLFORM).
  111.  
  112. The newly formatted diskette will have a label to remind you of where
  113. and how it was formatted e.g. "SDF-B:+Q+V-" means the disk was formatted
  114. in drive B:, with /Quad density and /Verified. Running CHKDSK on the disk
  115. will also show the date and time the disk was formatted.
  116.  
  117. The last word. In the quest for capacity, SDF only marks bad clusters, and
  118. not the whole track as does FORMAT when it encounters a bad sector.
  119.  
  120. WHAT SDF DOESN'T DO :
  121. -------------------
  122. - SDF is currently useless for 1.2 MB drives as found on PC AT's. I might
  123.   think of adding support for these drives if demand exists.
  124.  
  125. - SDF does not allow for the disk to contain a system. This is partly due
  126.   to laziness, and partly due to logic : creating a disk with a system is
  127.   an unfrequent task. If you require such a disk, go back to FORMAT for
  128.   that instance. In any case, trying to boot from a SDF formatted disk
  129.   gives an explicit message to the screen, and allow further booting
  130.   from another floppy or hard disk at the hit of a key.
  131.  
  132. Any hint, comment and suggestion welcome.
  133.  
  134. Enjoy, and get rid of DRIVPARM and DRIVER.SYS as soon as possible.
  135.  
  136. Jacques Pierson        CIS 76446,1516        November 16,1987
  137. Computer Center
  138. University of Namur
  139. Rue Grandgagnage 21
  140. B-5000 NAMUR (Belgium)
  141.  
  142.